package org.iteam.xlz.core.entity.ticket;

/**
 * 票券信息
 * @author tony
 * @version 1.0
 * @created 18-九月-2016 22:30:07
 */
public class TicketInfo {

	public String tid;
	/**
	 * 所属分类
	 */
	public String ttid;
	/**
	 * 票券名称
	 */
	public String infoname;
	/**
	 * 是否永久有效
	 * 0：是
	 * 1：否
	 */
	public int isforever;

	private String pid;
	/**
	 * 有效期类型
		0：按天数
		1：按起止时间
	 */
	private int datetype;
	
	/**
	 * 有效期（开始时间）
	 */
	public String begintime;
	/**
	 * 有效期（结束时间）
	 */
	public String endtime;
	/**
	 * 有效期天数
	 */
	private String validdate;
	/**
	 * 图片地址
	 */
	public String img;
	/**
	 * 面额
	 */
	public String denomination;
	/**
	 * 票券描述
	 */
	public String infointro;
	/**
	 * 状态
	 * 0：正常
	 * 1：禁用
	 */
	public int status;
	/**
	 * 创建时间
	 */
	public String createtime;
	/**
	 * 创建者
	 */
	public String creator;
	/**
	 * 票卷类型
	 * 0：物流配送
	 * 1：终端领取
	 */
	private int tickettype;
	
	/**
	 * 折算数量（一张票券可兑换的商品数量）
	 */
	private int reducednumber;
	/**
	 * 商品上架记录ID
	 */
	private String ppid;
	
	public String getTid() {
		return tid;
	}
	public void setTid(String tid) {
		this.tid = tid;
	}
	public String getTtid() {
		return ttid;
	}
	public void setTtid(String ttid) {
		this.ttid = ttid;
	}
	public String getInfoname() {
		return infoname;
	}
	public void setInfoname(String infoname) {
		this.infoname = infoname;
	}
	public int getIsforever() {
		return isforever;
	}
	public void setIsforever(int isforever) {
		this.isforever = isforever;
	}
	public String getBegintime() {
		return begintime;
	}
	public void setBegintime(String begintime) {
		this.begintime = begintime;
	}
	public String getEndtime() {
		return endtime;
	}
	public void setEndtime(String endtime) {
		this.endtime = endtime;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getDenomination() {
		return denomination;
	}
	public void setDenomination(String denomination) {
		this.denomination = denomination;
	}
	public String getInfointro() {
		return infointro;
	}
	public void setInfointro(String infointro) {
		this.infointro = infointro;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public int getDatetype() {
		return datetype;
	}
	public void setDatetype(int datetype) {
		this.datetype = datetype;
	}
	public String getValiddate() {
		return validdate;
	}
	public void setValiddate(String validdate) {
		this.validdate = validdate;
	}
	public int getTickettype() {
		return tickettype;
	}
	public void setTickettype(int tickettype) {
		this.tickettype = tickettype;
	}
	public int getReducednumber() {
		return reducednumber;
	}
	public void setReducednumber(int reducednumber) {
		this.reducednumber = reducednumber;
	}
	public String getPpid() {
		return ppid;
	}
	public void setPpid(String ppid) {
		this.ppid = ppid;
	}
}